package com.ttai.dagger.module.activity;

import com.ttai.presenter.activity.RegisterPresenter;
import com.ttai.ui.activity.Register;

import dagger.Module;
import dagger.Provides;

@Module
public class RegisterPresenterModule {
    Register register;

    public RegisterPresenterModule(Register register) {
        this.register = register;
    }
    @Provides
    RegisterPresenter provideRegisterPresenter(){
        return new RegisterPresenter(register);
    }
}
